Optimal. Leaf size=55 \[ \frac{3 \tanh ^{-1}(\sin (a+b x))}{8 b}+\frac{\tan (a+b x) \sec ^3(a+b x)}{4 b}+\frac{3 \tan (a+b x) \sec (a+b x)}{8 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0250803, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {3768, 3770} \[ \frac{3 \tanh ^{-1}(\sin (a+b x))}{8 b}+\frac{\tan (a+b x) \sec ^3(a+b x)}{4 b}+\frac{3 \tan (a+b x) \sec (a+b x)}{8 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3768
Rule 3770
Rubi steps
\begin{align*} \int \sec ^5(a+b x) \, dx &=\frac{\sec ^3(a+b x) \tan (a+b x)}{4 b}+\frac{3}{4} \int \sec ^3(a+b x) \, dx\\ &=\frac{3 \sec (a+b x) \tan (a+b x)}{8 b}+\frac{\sec ^3(a+b x) \tan (a+b x)}{4 b}+\frac{3}{8} \int \sec (a+b x) \, dx\\ &=\frac{3 \tanh ^{-1}(\sin (a+b x))}{8 b}+\frac{3 \sec (a+b x) \tan (a+b x)}{8 b}+\frac{\sec ^3(a+b x) \tan (a+b x)}{4 b}\\ \end{align*}
Mathematica [A] time = 0.0714815, size = 42, normalized size = 0.76 \[ \frac{3 \tanh ^{-1}(\sin (a+b x))+\tan (a+b x) \sec (a+b x) \left (2 \sec ^2(a+b x)+3\right )}{8 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.044, size = 57, normalized size = 1. \begin{align*}{\frac{ \left ( \sec \left ( bx+a \right ) \right ) ^{3}\tan \left ( bx+a \right ) }{4\,b}}+{\frac{3\,\sec \left ( bx+a \right ) \tan \left ( bx+a \right ) }{8\,b}}+{\frac{3\,\ln \left ( \sec \left ( bx+a \right ) +\tan \left ( bx+a \right ) \right ) }{8\,b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03009, size = 96, normalized size = 1.75 \begin{align*} -\frac{\frac{2 \,{\left (3 \, \sin \left (b x + a\right )^{3} - 5 \, \sin \left (b x + a\right )\right )}}{\sin \left (b x + a\right )^{4} - 2 \, \sin \left (b x + a\right )^{2} + 1} - 3 \, \log \left (\sin \left (b x + a\right ) + 1\right ) + 3 \, \log \left (\sin \left (b x + a\right ) - 1\right )}{16 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.42324, size = 200, normalized size = 3.64 \begin{align*} \frac{3 \, \cos \left (b x + a\right )^{4} \log \left (\sin \left (b x + a\right ) + 1\right ) - 3 \, \cos \left (b x + a\right )^{4} \log \left (-\sin \left (b x + a\right ) + 1\right ) + 2 \,{\left (3 \, \cos \left (b x + a\right )^{2} + 2\right )} \sin \left (b x + a\right )}{16 \, b \cos \left (b x + a\right )^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sec ^{5}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31957, size = 85, normalized size = 1.55 \begin{align*} -\frac{\frac{2 \,{\left (3 \, \sin \left (b x + a\right )^{3} - 5 \, \sin \left (b x + a\right )\right )}}{{\left (\sin \left (b x + a\right )^{2} - 1\right )}^{2}} - 3 \, \log \left ({\left | \sin \left (b x + a\right ) + 1 \right |}\right ) + 3 \, \log \left ({\left | \sin \left (b x + a\right ) - 1 \right |}\right )}{16 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]